import React from 'react'
import { Row, Col } from 'antd'
import Header from '../conmponents/Header'
import Footer from '../conmponents/Footer'
import NavLeft from '../conmponents/NavLeft'
import Main from './main/index'
import '../style/common.less'

export default class Admin extends React.Component {


  render() {
    return (
      <div>
        <Row className="container">
          <Col span={4} className="nav-left">
            <NavLeft />
          </Col>
          <Col span={20} className="main">
            <Header />
            <Row className="content">
              <Main>
                {this.props.children}
              </Main>
            </Row>
            <Footer />
          </Col>
        </Row>
      </div >
    )
  }
}